package com.training.java.core.mutability;

public class BicycleDemo {

	public static void main(String[] args) {

		Bicycle Bicycle1=new Bicycle();
		
		Bicycle1.setColor("Red");
		Bicycle1.setGear(1);
		Bicycle1.setMake("Atlas");
		Bicycle1.setModel("Bicycle+");
		Bicycle1.setSpeed(25);
		
		System.out.println("Color Is = "+Bicycle1.getColor());
		System.out.println("Make Is = "+ Bicycle1.getMake());
		System.out.println("Gear Is = "+ Bicycle1.getGear());
		System.out.println("Model Is = "+ Bicycle1.getModel());
		System.out.println("Current Speed Is = "+Bicycle1.getSpeed());
		
		Bicycle1.applybreak();
		
	}

}
